/*
 * @Author: whq
 * @Date: 2022-11-09 09:36:13
 * @LastEditTime: 2023-07-24 09:35:53
 * @LastEditors: whq
 * @Description: 
 * @FilePath: \newEraUniform\src\router\routes.ts
 */
// component: () => import('@/view/home/index.vue')
const routes = [
    {
        path: '/',
        name: 'PageView',
        component: () => import('@/view/PageView.vue'),
        children: [
            {
                path: '/',
                redirect: '/home'
            }, {
                path: '/home',
                name: 'home',
                component: () => import('@/view/HomePage/index.vue'),
                meta: {
                    title: '首页'
                }
            }, {
                path: '/details',
                name: 'details',
                component: () => import('@/view/PersonalInformation/index.vue'),
                meta: {
                    title: '详情'
                },
            }
        ]
    }
]

export default routes
